package com.zoanun.tools.example.urlcontroller;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("example")
public class UrlController {

	@RequestMapping(value="url/test1",params="login=test")
	public Map<String,Object> execute2(){
		Map<String,Object> map = new HashMap<String,Object>();
		map.put("user", "aaaaaaaaaaabbbbbbbb");
		return map;
	}
	
	@RequestMapping(value="url/test1")
	public Map<String,Object> execute1(){
		Map<String,Object> map = new HashMap<String,Object>();
		map.put("user", "testetsetsetsetes");
		return map;
	}
}
